package cn.sofwin.sb.service.impl;

import cn.sofwin.sb.Service.UserService;
import cn.sofwin.sb.dao.UserDao;
import cn.sofwin.sb.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;


    @Override
    public User findUser(Integer id) {
        return userDao.findUser(id);
    }
}
